--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
sbapp/mapview/geojson.py HEAD (8b8a5035) Text, 11.23 KB
T8b949e"""
Geojson layer
=============
.. note::
Currently experimental and a work in progress, not fully optimized.
Supports:
html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties html color in properties
polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes polygon geometry are cached and not redrawed when the parent mapview changes
linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow. linestring are redrawed everymove, it's ugly and slow.
marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported marker are NOT supported
"""
Te6edf3__all__ Tff7b72= Tb4b4b4[Ta5d6ff"Ta5d6ffGeoJsonMapLayerTa5d6ff"Tb4b4b4]
Tff7b72import T7ee787json
Tff7b72from T7ee787kivyT7ee787.T7ee787graphics Tff7b72import Te6edf3CanvasTb4b4b4, Te6edf3ColorTb4b4b4, Te6edf3LineTb4b4b4, Te6edf3MatrixInstructionTb4b4b4, Te6edf3MeshTb4b4b4, Te6edf3PopMatrixTb4b4b4, Te6edf3PushMatrixTb4b4b4, Te6edf3ScaleTb4b4b4, Te6edf3Translate
Tff7b72from T7ee787kivyT7ee787.T7ee787graphicsT7ee787.T7ee787tesselator Tff7b72import Te6edf3TYPE_POLYGONSTb4b4b4, Te6edf3WINDING_ODDTb4b4b4, Te6edf3Tesselator
Tff7b72from T7ee787kivyT7ee787.T7ee787metrics Tff7b72import Te6edf3dp
Tff7b72from T7ee787kivyT7ee787.T7ee787properties Tff7b72import Te6edf3ObjectPropertyTb4b4b4, Te6edf3StringProperty
Tff7b72from T7ee787kivyT7ee787.T7ee787utils Tff7b72import Te6edf3get_color_from_hex
Tff7b72from T7ee787mapviewT7ee787.T7ee787constants Tff7b72import Te6edf3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d6ff#ff6347Ta5d6ff'Tb4b4b4,
Ta5d6ff'Ta5d6ffturquoiseTa5d6ff'Tb4b4b4: Ta5d6ff'Ta5d6ff#40e0d0Ta5d6ff'Tb4b4b4,
Ta5d6ff'Ta5d6ffvioletTa5d6ff'Tb4b4b4: Ta5d6ff'Ta5d6ff#ee82eeTa5d6ff'Tb4b4b4,
Ta5d6ff'Ta5d6ffwheatTa5d6ff'Tb4b4b4: Ta5d6ff'Ta5d6ff#f5deb3Ta5d6ff'Tb4b4b4,
Ta5d6ff'Ta5d6ffwhiteTa5d6ff'Tb4b4b4: Ta5d6ff'Ta5d6ff#ffffffTa5d6ff'Tb4b4b4,
Ta5d6ff'Ta5d6ffwhitesmokeTa5d6ff'Tb4b4b4: Ta5d6ff'Ta5d6ff#f5f5f5Ta5d6ff'Tb4b4b4,
Ta5d6ff'Ta5d6ffyellowTa5d6ff'Tb4b4b4: Ta5d6ff'Ta5d6ff#ffff00Ta5d6ff'Tb4b4b4,
Ta5d6ff'Ta5d6ffyellowgreenTa5d6ff'Tb4b4b4: Ta5d6ff'Ta5d6ff#9acd32Ta5d6ff'Tb4b4b4,
Tb4b4b4}
Tff7b72def Td2a8ffflattenTb4b4b4(Te6edf3lstTb4b4b4)Tb4b4b4: Tff7b72return Tb4b4b4[Te6edf3item Tff7b72for Te6edf3sublist Tff7b72in Te6edf3lst Tff7b72for Te6edf3item Tff7b72in Te6edf3sublistTb4b4b4]
Tff7b72class T56d364GeoJsonMapLayerTb4b4b4(Te6edf3MapLayerTb4b4b4)Tb4b4b4:
Te6edf3source Tff7b72= Te6edf3StringPropertyTb4b4b4(Tb4b4b4)
Te6edf3geojson Tff7b72= Te6edf3ObjectPropertyTb4b4b4(Tb4b4b4)
Te6edf3cache_dir Tff7b72= Te6edf3StringPropertyTb4b4b4(Te6edf3CACHE_DIRTb4b4b4)
Tff7b72def Tff7b72__init__Tb4b4b4(Tff7b72selfTb4b4b4, Tff7b72*Tff7b72*Te6edf3kwargsTb4b4b4)Tb4b4b4:
Tff7b72selfTff7b72.Td2a8fffirst_time Tff7b72= Tff7b72True
Tff7b72selfTff7b72.Td2a8ffinitial_zoom Tff7b72= Tff7b72None
Tffa657superTb4b4b4(Tb4b4b4)Tff7b72.Td2a8ff__init__Tb4b4b4(Tff7b72*Tff7b72*Te6edf3kwargsTb4b4b4)
Tff7b72with Tff7b72selfTff7b72.Td2a8ffcanvasTb4b4b4:
Tff7b72selfTff7b72.Td2a8ffcanvas_polygon Tff7b72= Te6edf3CanvasTb4b4b4(Tb4b4b4)
Tff7b72selfTff7b72.Td2a8ffcanvas_line Tff7b72= Te6edf3CanvasTb4b4b4(Tb4b4b4)
Tff7b72with Tff7b72selfTff7b72.Td2a8ffcanvas_polygonTff7b72.Td2a8ffbeforeTb4b4b4:
Te6edf3PushMatrixTb4b4b4(Tb4b4b4)
Tff7b72selfTff7b72.Td2a8ffg_matrix Tff7b72= Te6edf3MatrixInstructionTb4b4b4(Tb4b4b4)
Tff7b72selfTff7b72.Td2a8ffg_scale Tff7b72= Te6edf3ScaleTb4b4b4(Tb4b4b4)
Tff7b72selfTff7b72.Td2a8ffg_translate Tff7b72= Te6edf3TranslateTb4b4b4(Tb4b4b4)
Tff7b72with Tff7b72selfTff7b72.Td2a8ffcanvas_polygonTb4b4b4: Tff7b72selfTff7b72.Td2a8ffg_canvas_polygon Tff7b72= Te6edf3CanvasTb4b4b4(Tb4b4b4)
Tff7b72with Tff7b72selfTff7b72.Td2a8ffcanvas_polygonTff7b72.Td2a8ffafterTb4b4b4: Te6edf3PopMatrixTb4b4b4(Tb4b4b4)
Tff7b72def Td2a8ffrepositionTb4b4b4(Tff7b72selfTb4b4b4)Tb4b4b4:
Te6edf3vxTb4b4b4, Te6edf3vy Tff7b72= Tff7b72selfTff7b72.Td2a8ffparentTff7b72.Td2a8ffdelta_xTb4b4b4, Tff7b72selfTff7b72.Td2a8ffparentTff7b72.Td2a8ffdelta_y
Te6edf3pzoom Tff7b72= Tff7b72selfTff7b72.Td2a8ffparentTff7b72.Td2a8ffzoom
Te6edf3zoom Tff7b72= Tff7b72selfTff7b72.Td2a8ffinitial_zoom
Tff7b72if Te6edf3zoom Tff7b72is Tff7b72NoneTb4b4b4:
Tff7b72selfTff7b72.Td2a8ffinitial_zoom Tff7b72= Te6edf3zoom Tff7b72= Te6edf3pzoom
Tff7b72if Te6edf3zoom Tff7b72!= Te6edf3pzoomTb4b4b4:
Te6edf3diff Tff7b72= T79c0ff2 Tff7b72*Tff7b72* Tb4b4b4(Te6edf3pzoom Tff7b72- Te6edf3zoomTb4b4b4)
Te6edf3vx Tff7b72/Tff7b72= Te6edf3diff
Te6edf3vy Tff7b72/Tff7b72= Te6edf3diff
Tff7b72selfTff7b72.Td2a8ffg_scaleTff7b72.Td2a8ffx Tff7b72= Tff7b72selfTff7b72.Td2a8ffg_scaleTff7b72.Td2a8ffy Tff7b72= Te6edf3diff
Tff7b72elseTb4b4b4:
Tff7b72selfTff7b72.Td2a8ffg_scaleTff7b72.Td2a8ffx Tff7b72= Tff7b72selfTff7b72.Td2a8ffg_scaleTff7b72.Td2a8ffy Tff7b72= T79c0ff1.0
Tff7b72selfTff7b72.Td2a8ffg_translateTff7b72.Td2a8ffxy Tff7b72= Te6edf3vxTb4b4b4, Te6edf3vy
Tff7b72selfTff7b72.Td2a8ffg_matrixTff7b72.Td2a8ffmatrix Tff7b72= Tff7b72selfTff7b72.Td2a8ffparentTff7b72.Td2a8ff_scatterTff7b72.Td2a8fftransform
Tff7b72if Tff7b72selfTff7b72.Td2a8ffgeojsonTb4b4b4:
Te6edf3update Tff7b72= Tff7b72not Tff7b72selfTff7b72.Td2a8fffirst_time
Tff7b72selfTff7b72.Td2a8ffon_geojsonTb4b4b4(Tff7b72selfTb4b4b4, Tff7b72selfTff7b72.Td2a8ffgeojsonTb4b4b4, Te6edf3updateTff7b72=Te6edf3updateTb4b4b4)
Tff7b72selfTff7b72.Td2a8fffirst_time Tff7b72= Tff7b72False
T8b949e# Traverse the whole geojson and call the func with every element found.
Tff7b72def Td2a8fftraverse_featureTb4b4b4(Tff7b72selfTb4b4b4, Te6edf3funcTb4b4b4, Te6edf3partTff7b72=Tff7b72NoneTb4b4b4)Tb4b4b4:
Tff7b72if Te6edf3part Tff7b72is Tff7b72NoneTb4b4b4: Te6edf3part Tff7b72= Tff7b72selfTff7b72.Td2a8ffgeojson
Tff7b72if Tff7b72not Te6edf3partTb4b4b4: Tff7b72return
Te6edf3tp Tff7b72= Te6edf3partTb4b4b4[Ta5d6ff"Ta5d6fftypeTa5d6ff"Tb4b4b4]
Tff7b72if Te6edf3tp Tff7b72== Ta5d6ff"Ta5d6ffFeatureCollectionTa5d6ff"Tb4b4b4:
Tff7b72for Te6edf3feature Tff7b72in Te6edf3partTb4b4b4[Ta5d6ff"Ta5d6fffeaturesTa5d6ff"Tb4b4b4]Tb4b4b4: Te6edf3funcTb4b4b4(Te6edf3featureTb4b4b4)
Tff7b72elif Te6edf3tp Tff7b72== Ta5d6ff"Ta5d6ffFeatureTa5d6ff"Tb4b4b4: Te6edf3funcTb4b4b4(Te6edf3partTb4b4b4)
Tf0883e@property
Tff7b72def Td2a8ffboundsTb4b4b4(Tff7b72selfTb4b4b4)Tb4b4b4:
T8b949e# Return the min lon, max lon, min lat, max lat
Te6edf3bounds Tff7b72= Tb4b4b4[Tffa657floatTb4b4b4(Ta5d6ff"Ta5d6ffinfTa5d6ff"Tb4b4b4)Tb4b4b4, Tffa657floatTb4b4b4(Ta5d6ff"Ta5d6ff-infTa5d6ff"Tb4b4b4)Tb4b4b4, Tffa657floatTb4b4b4(Ta5d6ff"Ta5d6ffinfTa5d6ff"Tb4b4b4)Tb4b4b4, Tffa657floatTb4b4b4(Ta5d6ff"Ta5d6ff-infTa5d6ff"Tb4b4b4)Tb4b4b4]
Tff7b72def Td2a8ff_submit_coordinateTb4b4b4(Te6edf3coordTb4b4b4)Tb4b4b4:
Te6edf3lonTb4b4b4, Te6edf3lat Tff7b72= Te6edf3coord
Te6edf3boundsTb4b4b4[T79c0ff0Tb4b4b4] Tff7b72= Tffa657minTb4b4b4(Te6edf3boundsTb4b4b4[T79c0ff0Tb4b4b4]Tb4b4b4, Te6edf3lonTb4b4b4)
Te6edf3boundsTb4b4b4[T79c0ff1Tb4b4b4] Tff7b72= Tffa657maxTb4b4b4(Te6edf3boundsTb4b4b4[T79c0ff1Tb4b4b4]Tb4b4b4, Te6edf3lonTb4b4b4)
Te6edf3boundsTb4b4b4[T79c0ff2Tb4b4b4] Tff7b72= Tffa657minTb4b4b4(Te6edf3boundsTb4b4b4[T79c0ff2Tb4b4b4]Tb4b4b4, Te6edf3latTb4b4b4)
Te6edf3boundsTb4b4b4[T79c0ff3Tb4b4b4] Tff7b72= Tffa657maxTb4b4b4(Te6edf3boundsTb4b4b4[T79c0ff3Tb4b4b4]Tb4b4b4, Te6edf3latTb4b4b4)
Tff7b72def Td2a8ff_get_boundsTb4b4b4(Te6edf3featureTb4b4b4)Tb4b4b4:
Te6edf3geometry Tff7b72= Te6edf3featureTb4b4b4[Ta5d6ff"Ta5d6ffgeometryTa5d6ff"Tb4b4b4]
Te6edf3tp Tff7b72= Te6edf3geometryTb4b4b4[Ta5d6ff"Ta5d6fftypeTa5d6ff"Tb4b4b4]
Tff7b72if Te6edf3tp Tff7b72== Ta5d6ff"Ta5d6ffPointTa5d6ff"Tb4b4b4:
Te6edf3_submit_coordinateTb4b4b4(Te6edf3geometryTb4b4b4[Ta5d6ff"Ta5d6ffcoordinatesTa5d6ff"Tb4b4b4]Tb4b4b4)
Tff7b72elif Te6edf3tp Tff7b72== Ta5d6ff"Ta5d6ffPolygonTa5d6ff"Tb4b4b4:
Tff7b72for Te6edf3coordinate Tff7b72in Te6edf3geometryTb4b4b4[Ta5d6ff"Ta5d6ffcoordinatesTa5d6ff"Tb4b4b4]Tb4b4b4[T79c0ff0Tb4b4b4]Tb4b4b4:
Te6edf3_submit_coordinateTb4b4b4(Te6edf3coordinateTb4b4b4)
Tff7b72elif Te6edf3tp Tff7b72== Ta5d6ff"Ta5d6ffMultiPolygonTa5d6ff"Tb4b4b4:
Tff7b72for Te6edf3polygon Tff7b72in Te6edf3geometryTb4b4b4[Ta5d6ff"Ta5d6ffcoordinatesTa5d6ff"Tb4b4b4]Tb4b4b4:
Tff7b72for Te6edf3coordinate Tff7b72in Te6edf3polygonTb4b4b4[T79c0ff0Tb4b4b4]Tb4b4b4:
Te6edf3_submit_coordinateTb4b4b4(Te6edf3coordinateTb4b4b4)
Tff7b72selfTff7b72.Td2a8fftraverse_featureTb4b4b4(Te6edf3_get_boundsTb4b4b4)
Tff7b72return Te6edf3bounds
Tf0883e@property
Tff7b72def Td2a8ffcenterTb4b4b4(Tff7b72selfTb4b4b4)Tb4b4b4:
Te6edf3min_lonTb4b4b4, Te6edf3max_lonTb4b4b4, Te6edf3min_latTb4b4b4, Te6edf3max_lat Tff7b72= Tff7b72selfTff7b72.Td2a8ffbounds
Te6edf3cx Tff7b72= Tb4b4b4(Te6edf3max_lon Tff7b72- Te6edf3min_lonTb4b4b4) Tff7b72/ T79c0ff2.0
Te6edf3cy Tff7b72= Tb4b4b4(Te6edf3max_lat Tff7b72- Te6edf3min_latTb4b4b4) Tff7b72/ T79c0ff2.0
Tff7b72return Te6edf3min_lon Tff7b72+ Te6edf3cxTb4b4b4, Te6edf3min_lat Tff7b72+ Te6edf3cy
Tff7b72def Td2a8ffon_geojsonTb4b4b4(Tff7b72selfTb4b4b4, Te6edf3instanceTb4b4b4, Te6edf3geojsonTb4b4b4, Te6edf3updateTff7b72=Tff7b72FalseTb4b4b4)Tb4b4b4:
Tff7b72if Tff7b72selfTff7b72.Td2a8ffparent Tff7b72is Tff7b72NoneTb4b4b4: Tff7b72return
Tff7b72if Tff7b72not Te6edf3updateTb4b4b4:
Tff7b72selfTff7b72.Td2a8ffg_canvas_polygonTff7b72.Td2a8ffclearTb4b4b4(Tb4b4b4)
Tff7b72selfTff7b72.Td2a8ff_geojson_partTb4b4b4(Te6edf3geojsonTb4b4b4, Te6edf3geotypeTff7b72=Ta5d6ff"Ta5d6ffPolygonTa5d6ff"Tb4b4b4)
Tff7b72selfTff7b72.Td2a8ffcanvas_lineTff7b72.Td2a8ffclearTb4b4b4(Tb4b4b4)
Tff7b72selfTff7b72.Td2a8ff_geojson_partTb4b4b4(Te6edf3geojsonTb4b4b4, Te6edf3geotypeTff7b72=Ta5d6ff"Ta5d6ffLineStringTa5d6ff"Tb4b4b4)
Tff7b72def Td2a8ffon_sourceTb4b4b4(Tff7b72selfTb4b4b4, Te6edf3instanceTb4b4b4, Te6edf3valueTb4b4b4)Tb4b4b4:
Tff7b72if Te6edf3valueTff7b72.Td2a8ffstartswithTb4b4b4(Tb4b4b4(Ta5d6ff"Ta5d6ffhttp://Ta5d6ff"Tb4b4b4, Ta5d6ff"Ta5d6ffhttps://Ta5d6ff"Tb4b4b4)Tb4b4b4)Tb4b4b4:
Te6edf3DownloaderTff7b72.Td2a8ffinstanceTb4b4b4(Te6edf3cache_dirTff7b72=Tff7b72selfTff7b72.Td2a8ffcache_dirTb4b4b4)Tff7b72.Td2a8ffdownloadTb4b4b4(Te6edf3valueTb4b4b4, Tff7b72selfTff7b72.Td2a8ff_load_geojson_urlTb4b4b4)
Tff7b72elseTb4b4b4:
Tff7b72with Tffa657openTb4b4b4(Te6edf3valueTb4b4b4, Ta5d6ff"Ta5d6ffrbTa5d6ff"Tb4b4b4) Tff7b72as Te6edf3fdTb4b4b4: Te6edf3geojson Tff7b72= Te6edf3jsonTff7b72.Td2a8ffloadTb4b4b4(Te6edf3fdTb4b4b4)
Tff7b72selfTff7b72.Td2a8ffgeojson Tff7b72= Te6edf3geojson
Tff7b72def Td2a8ff_load_geojson_urlTb4b4b4(Tff7b72selfTb4b4b4, Te6edf3urlTb4b4b4, Te6edf3responseTb4b4b4)Tb4b4b4:
Tff7b72selfTff7b72.Td2a8ffgeojson Tff7b72= Te6edf3responseTff7b72.Td2a8ffjsonTb4b4b4(Tb4b4b4)
Tff7b72def Td2a8ff_geojson_partTb4b4b4(Tff7b72selfTb4b4b4, Te6edf3partTb4b4b4, Te6edf3geotypeTff7b72=Tff7b72NoneTb4b4b4)Tb4b4b4:
Te6edf3tp Tff7b72= Te6edf3partTb4b4b4[Ta5d6ff"Ta5d6fftypeTa5d6ff"Tb4b4b4]
Tff7b72if Te6edf3tp Tff7b72== Ta5d6ff"Ta5d6ffFeatureCollectionTa5d6ff"Tb4b4b4:
Tff7b72for Te6edf3feature Tff7b72in Te6edf3partTb4b4b4[Ta5d6ff"Ta5d6fffeaturesTa5d6ff"Tb4b4b4]Tb4b4b4:
Tff7b72if Te6edf3geotype Tff7b72and Te6edf3featureTb4b4b4[Ta5d6ff"Ta5d6ffgeometryTa5d6ff"Tb4b4b4]Tb4b4b4[Ta5d6ff"Ta5d6fftypeTa5d6ff"Tb4b4b4] Tff7b72!= Te6edf3geotypeTb4b4b4: Tff7b72continue
Tff7b72selfTff7b72.Td2a8ff_geojson_part_fTb4b4b4(Te6edf3featureTb4b4b4)
Tff7b72elif Te6edf3tp Tff7b72== Ta5d6ff"Ta5d6ffFeatureTa5d6ff"Tb4b4b4:
Tff7b72if Te6edf3geotype Tff7b72and Te6edf3partTb4b4b4[Ta5d6ff"Ta5d6ffgeometryTa5d6ff"Tb4b4b4]Tb4b4b4[Ta5d6ff"Ta5d6fftypeTa5d6ff"Tb4b4b4] Tff7b72== Te6edf3geotypeTb4b4b4: Tff7b72selfTff7b72.Td2a8ff_geojson_part_fTb4b4b4(Te6edf3partTb4b4b4)
Tff7b72elseTb4b4b4:
Tff7b72pass T8b949e# Unhandled geojson part
Tff7b72def Td2a8ff_geojson_part_fTb4b4b4(Tff7b72selfTb4b4b4, Te6edf3featureTb4b4b4)Tb4b4b4:
Te6edf3properties Tff7b72= Te6edf3featureTb4b4b4[Ta5d6ff"Ta5d6ffpropertiesTa5d6ff"Tb4b4b4]
Te6edf3geometry Tff7b72= Te6edf3featureTb4b4b4[Ta5d6ff"Ta5d6ffgeometryTa5d6ff"Tb4b4b4]
Te6edf3graphics Tff7b72= Tff7b72selfTff7b72.Td2a8ff_geojson_part_geometryTb4b4b4(Te6edf3geometryTb4b4b4, Te6edf3propertiesTb4b4b4)
Tff7b72for Te6edf3g Tff7b72in Te6edf3graphicsTb4b4b4:
Te6edf3tp Tff7b72= Te6edf3geometryTb4b4b4[Ta5d6ff"Ta5d6fftypeTa5d6ff"Tb4b4b4]
Tff7b72if Te6edf3tp Tff7b72== Ta5d6ff"Ta5d6ffPolygonTa5d6ff"Tb4b4b4: Tff7b72selfTff7b72.Td2a8ffg_canvas_polygonTff7b72.Td2a8ffaddTb4b4b4(Te6edf3gTb4b4b4)
Tff7b72elseTb4b4b4: Tff7b72selfTff7b72.Td2a8ffcanvas_lineTff7b72.Td2a8ffaddTb4b4b4(Te6edf3gTb4b4b4)
Tff7b72def Td2a8ff_geojson_part_geometryTb4b4b4(Tff7b72selfTb4b4b4, Te6edf3geometryTb4b4b4, Te6edf3propertiesTb4b4b4)Tb4b4b4:
Te6edf3tp Tff7b72= Te6edf3geometryTb4b4b4[Ta5d6ff"Ta5d6fftypeTa5d6ff"Tb4b4b4]
Tff7b72selfTff7b72.Td2a8fftp Tff7b72= Te6edf3tp
Te6edf3graphics Tff7b72= Tb4b4b4[Tb4b4b4]
Tff7b72if Te6edf3tp Tff7b72== Ta5d6ff"Ta5d6ffPolygonTa5d6ff"Tb4b4b4:
Te6edf3tess Tff7b72= Te6edf3TesselatorTb4b4b4(Tb4b4b4)
Tff7b72for Te6edf3c Tff7b72in Te6edf3geometryTb4b4b4[Ta5d6ff"Ta5d6ffcoordinatesTa5d6ff"Tb4b4b4]Tb4b4b4:
Te6edf3xy Tff7b72= Tffa657listTb4b4b4(Tff7b72selfTff7b72.Td2a8ff_lonlat_to_xyTb4b4b4(Te6edf3cTb4b4b4)Tb4b4b4)
Te6edf3xy Tff7b72= Te6edf3flattenTb4b4b4(Te6edf3xyTb4b4b4)
Te6edf3tessTff7b72.Td2a8ffadd_contourTb4b4b4(Te6edf3xyTb4b4b4)
Te6edf3tessTff7b72.Td2a8fftesselateTb4b4b4(Te6edf3WINDING_ODDTb4b4b4, Te6edf3TYPE_POLYGONSTb4b4b4)
Te6edf3color Tff7b72= Tff7b72selfTff7b72.Td2a8ff_get_color_fromTb4b4b4(Te6edf3propertiesTff7b72.Td2a8ffgetTb4b4b4(Ta5d6ff"Ta5d6ffcolorTa5d6ff"Tb4b4b4, Ta5d6ff"Ta5d6ffFF000088Ta5d6ff"Tb4b4b4)Tb4b4b4)
Te6edf3graphicsTff7b72.Td2a8ffappendTb4b4b4(Te6edf3ColorTb4b4b4(Tff7b72*Te6edf3colorTb4b4b4)Tb4b4b4)
Tff7b72for Te6edf3verticesTb4b4b4, Te6edf3indices Tff7b72in Te6edf3tessTff7b72.Td2a8ffmeshesTb4b4b4:
Te6edf3graphicsTff7b72.Td2a8ffappendTb4b4b4(Te6edf3MeshTb4b4b4(Te6edf3verticesTff7b72=Te6edf3verticesTb4b4b4, Te6edf3indicesTff7b72=Te6edf3indicesTb4b4b4, Te6edf3modeTff7b72=Ta5d6ff"Ta5d6fftriangle_fanTa5d6ff"Tb4b4b4)Tb4b4b4)
Tff7b72elif Te6edf3tp Tff7b72== Ta5d6ff"Ta5d6ffLineStringTa5d6ff"Tb4b4b4:
Te6edf3stroke Tff7b72= Te6edf3get_color_from_hexTb4b4b4(Te6edf3propertiesTff7b72.Td2a8ffgetTb4b4b4(Ta5d6ff"Ta5d6ffstrokeTa5d6ff"Tb4b4b4, Ta5d6ff"Ta5d6ff#ffffffTa5d6ff"Tb4b4b4)Tb4b4b4)
Te6edf3stroke_width Tff7b72= Te6edf3dpTb4b4b4(Te6edf3propertiesTff7b72.Td2a8ffgetTb4b4b4(Ta5d6ff"Ta5d6ffstroke-widthTa5d6ff"Tb4b4b4)Tb4b4b4)
Te6edf3xy Tff7b72= Tffa657listTb4b4b4(Tff7b72selfTff7b72.Td2a8ff_lonlat_to_xyTb4b4b4(Te6edf3geometryTb4b4b4[Ta5d6ff"Ta5d6ffcoordinatesTa5d6ff"Tb4b4b4]Tb4b4b4)Tb4b4b4)
Te6edf3xy Tff7b72= Te6edf3flattenTb4b4b4(Te6edf3xyTb4b4b4)
Te6edf3graphicsTff7b72.Td2a8ffappendTb4b4b4(Te6edf3ColorTb4b4b4(Tff7b72*Te6edf3strokeTb4b4b4)Tb4b4b4)
Te6edf3graphicsTff7b72.Td2a8ffappendTb4b4b4(Te6edf3LineTb4b4b4(Te6edf3pointsTff7b72=Te6edf3xyTb4b4b4, Te6edf3widthTff7b72=Te6edf3stroke_widthTb4b4b4)Tb4b4b4)
Tff7b72return Te6edf3graphics
Tff7b72def Td2a8ff_lonlat_to_xyTb4b4b4(Tff7b72selfTb4b4b4, Te6edf3lonlatsTb4b4b4)Tb4b4b4:
Te6edf3view Tff7b72= Tff7b72selfTff7b72.Td2a8ffparent
Te6edf3zoom Tff7b72= Te6edf3viewTff7b72.Td2a8ffzoom
Tff7b72for Te6edf3lonTb4b4b4, Te6edf3lat Tff7b72in Te6edf3lonlatsTb4b4b4:
Te6edf3p Tff7b72= Te6edf3viewTff7b72.Td2a8ffget_window_xy_fromTb4b4b4(Te6edf3latTb4b4b4, Te6edf3lonTb4b4b4, Te6edf3zoomTb4b4b4)
T8b949e# Make LineString and Polygon works at the same time
Tff7b72if Tff7b72selfTff7b72.Td2a8fftp Tff7b72== Ta5d6ff"Ta5d6ffPolygonTa5d6ff"Tb4b4b4:
Te6edf3p Tff7b72= Te6edf3pTb4b4b4[T79c0ff0Tb4b4b4] Tff7b72- Tff7b72selfTff7b72.Td2a8ffparentTff7b72.Td2a8ffdelta_xTb4b4b4, Te6edf3pTb4b4b4[T79c0ff1Tb4b4b4] Tff7b72- Tff7b72selfTff7b72.Td2a8ffparentTff7b72.Td2a8ffdelta_y
Te6edf3p Tff7b72= Tff7b72selfTff7b72.Td2a8ffparentTff7b72.Td2a8ff_scatterTff7b72.Td2a8ffto_localTb4b4b4(Tff7b72*Te6edf3pTb4b4b4)
Tff7b72yield Te6edf3p
Tff7b72def Td2a8ff_get_color_fromTb4b4b4(Tff7b72selfTb4b4b4, Te6edf3valueTb4b4b4)Tb4b4b4:
Te6edf3color Tff7b72= Te6edf3COLORSTff7b72.Td2a8ffgetTb4b4b4(Te6edf3valueTff7b72.Td2a8fflowerTb4b4b4(Tb4b4b4)Tb4b4b4, Te6edf3valueTb4b4b4)
Te6edf3color Tff7b72= Te6edf3get_color_from_hexTb4b4b4(Te6edf3colorTb4b4b4)
Tff7b72return Te6edf3color
──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────